package com.deep.test.designpattern.singleton;

/**
 * <p>Description:非线程安全的懒汉式单列</p>
 * Created with IDEA
 * author:hudepin
 * createTime:2018/5/17 10:30
 */
public class LazyLoad {
    private LazyLoad(){}
    private static LazyLoad instance = null;
    public static LazyLoad getInstance(){
        if(instance==null){
            instance = new LazyLoad();
        }
        return instance;
    }
}
